package zhr;

public class ex2_2 {
    public static void main(String[] args) {
        int i;
        if (args.length > 0) {
            for (i = 0; i < args.length; i++)
            {
                System.out.println("arg[" + i + "]=" + args[i]);
            }
        }
        else {
            System.out.println("No arguments!");
        }
    }
}
